/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "data": {
                "list": [
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "1亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8828,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "SECURITY",
                        cmsNewsStatus: "READ",
                        content: "2亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8827,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "SECURITY",
                        cmsNewsStatus: "READ",
                        content: "3亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8826,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "4亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8825,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "5亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8824,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "6亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8823,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "SECURITY",
                        cmsNewsStatus: "READ",
                        content: "7亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8822,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "8亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8821,
                        uid: 27894
                    },
                    {
                        cmsNewsCategory: "ASSETS",
                        cmsNewsStatus: "READ",
                        content: "9亲爱的果仁用户，您2016-12-19 09:45:52的充值申请已经到账，到账金额为人民币1000.00元，可以立刻进行交易。",
                        createDate: "2016-12-19 09:46:15",
                        id: 8830,
                        uid: 27894
                    },
                ],
                pageNum: 5
            }, "msg": "success", "code": "100200"
        }
    };
};

/* eslint-enable fecs-camelcase */

